﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GameServer.Events;

namespace GameServer.Plugins
{
    class Plugin
    {
        public string Name { get; set; }
        public string Desc { get; set; }
        public string Version { get; set; }
        public long LoadTime = 0L;

        public Plugin(string name, string description, string version)
        {
            this.Name = name;
            this.Desc = description;
            this.Version = version;
        }

        public void onEnable()
        {
            this.LoadTime = System.DateTime.Now.Millisecond;
        }

        public void onDisable()
        {
            this.LoadTime = 0L;
        }
    }
}
